<?php

use App\Models\User;
use Illuminate\Database\Seeder;

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        for ($i = 0; $i < 10; $i++) {
            $user = new User();
            $user->name = 'user_'.$i;
            $user->email = 'user_'.$i.'@test.com';
            $user->password = bcrypt('pwd');
            $user->save();
        }
    }
}
